/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package DAO;

import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;

/**
 *
 * @author Hai
 */
public abstract class AbConnectDB implements MyInterface.InterfaceConnection {

    public abstract Connection getConnect();

    public abstract Statement getStatement() throws SQLException;

    public abstract ResultSet executeQuery(String Query);

    public abstract int executeUpdate(String Query) throws SQLException;

    public abstract void Close() throws SQLException;

}
